/* =========================================================
   CYBER POINT DEVELOPMENT
   GEORGIAN HOMEPAGE
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

body {
    position: relative;
    min-height: 100vh;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans Georgian",
        "Noto Sans",
        Arial,
        sans-serif;
    color: #e7e7e7;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(112, 72, 165, 0.35) 0%,
            rgba(79, 42, 125, 0.22) 22%,
            rgba(40, 16, 70, 0.10) 40%,
            transparent 62%
        ),
        #15062c;
    opacity: 0;
    animation:
        pageFadeIn 0.8s ease forwards;
}


/* =========================================================
   PAGE FADE
   ========================================================= */

body.fade-out {
    animation:
        pageFadeOut 0.5s ease forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* =========================================================
   BACKGROUND GRID
   ========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(
            rgba(0, 170, 255, 0.075) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 170, 255, 0.075) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
    animation:
        moveGrid 10s linear infinite;
    pointer-events: none;
    z-index: -10;
    will-change: transform;
    transform:
        translate3d(0, 0, 0);
}

@keyframes moveGrid {
    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(-50px, -50px, 0);
    }
}


/* =========================================================
   BACKGROUND GRADIENT IMAGE
   ========================================================= */

.image-gradient {
    position: fixed;
    top: 0;
    right: 0;
    width:
        min(800px, 60vw);
    height: auto;
    opacity: 0.12;
    pointer-events: none;
    z-index: -8;
    user-select: none;
}


/* =========================================================
   AMBIENT BLUR
   ========================================================= */

.layer-blur {
    position: fixed;
    top: 18%;
    right: -5%;
    width:
        min(32rem, 55vw);
    height: 12px;
    background:
        rgba(255, 255, 255, 0.12);
    filter:
        blur(80px);
    transform:
        rotate(-30deg);
    pointer-events: none;
    z-index: -7;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    min-height: 120px;
    padding: 20px 3.5%;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex-shrink: 1;
}

.brand .logo {
    width:
        clamp(58px, 5vw, 82px);
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter:
        drop-shadow(
            0 0 7px
            rgba(255, 141, 12, 0.55)
        )
        drop-shadow(
            0 0 17px
            rgba(179, 15, 255, 0.35)
        );
}


/* =========================================================
   BRAND TEXT
   ========================================================= */

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    transform:
        translateY(5px);
}

header h1.name {
    margin: 0;
    max-width: 100%;

    color: #e7e7e7;

    font-family: "AcadNucx", sans-serif;

    font-size: clamp(1.25rem, 2.7vw, 2.7rem);

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: 0.01em;

    white-space: normal;
}

header .slogan {
    margin:
        0.35rem 0 0 0.85rem;
    color: #8a8a8a;
    font-size:
        clamp(0.72rem, 1.15vw, 1.15rem);
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: 0.08em;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem 2.7rem;
    list-style: none;
    padding: 0;
    margin: 0;
    letter-spacing: 0.08em;
}

.nav-links li {
    display: inline-flex;
    align-items: center;
    list-style: none;
    transition:
        transform 0.35s
        cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   GLOWING DOT
   ========================================================= */

.nav-links li::before {
    content: "●";
    margin-right: 9px;
    color: #aa50ff;
    font-size: 0.6rem;
    text-shadow:
        0 0 6px
        rgba(170, 80, 255, 0.5),
        0 0 12px
        rgba(170, 80, 255, 0.4);
    transition:
        color 0.35s ease,
        transform 0.35s
        cubic-bezier(0.16, 1, 0.3, 1),
        text-shadow 0.35s ease;
}


/* =========================================================
   NAVIGATION LINK
   ========================================================= */

.nav-links li a {
    position: relative;
    display: inline-block;
    color: #e8ddff;
    text-decoration: none;
    white-space: nowrap;
    font-size:
        clamp(0.85rem, 1.1vw, 1.15rem);
    letter-spacing: 0.06em;
    transition:
        color 0.35s ease,
        transform 0.35s ease,
        text-shadow 0.35s ease;
}


/* =========================================================
   ANIMATED UNDERLINE
   ========================================================= */

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            #b30fff,
            #ff8d0c
        );
    box-shadow:
        0 0 6px
        rgba(179, 15, 255, 0.7),
        0 0 12px
        rgba(255, 141, 12, 0.35);
    transform:
        scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition:
        transform 0.4s
        cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.nav-links li:hover {
    transform:
        translateY(-2px);
}

.nav-links li:hover::before {
    color: #ff8d0c;
    transform:
        scale(1.35);
    text-shadow:
        0 0 6px
        rgba(255, 141, 12, 0.9),
        0 0 14px
        rgba(179, 15, 255, 0.8),
        0 0 24px
        rgba(179, 15, 255, 0.5);
}

.nav-links li:hover a {
    color: #ffffff;
    text-shadow:
        0 0 8px
        rgba(179, 15, 255, 0.45),
        0 0 18px
        rgba(179, 15, 255, 0.25);
}

.nav-links li:hover a::after {
    transform:
        scaleX(1);
    opacity: 1;
}


/* =========================================================
   CLICK FEEDBACK
   ========================================================= */

.nav-links li:active {
    transform:
        translateY(0)
        scale(0.97);
}


/* =========================================================
   MOBILE NAV TOGGLE
   ========================================================= */

.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 32px;
    height: 28px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    background: #e8ddff;
    box-shadow:
        0 0 8px
        rgba(179, 15, 255, 0.35);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height:
        calc(100vh - 120px);
    color: #e7e7e7;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height:
        calc(100vh - 120px);
    padding:
        4.5rem 3.5% 2rem;
    overflow: visible;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.content {
    position: relative;
    z-index: 5;
    flex: 1 1 48%;
    width: 100%;
    max-width: 700px;
    min-width: 300px;
    padding-top: 1rem;
}


/* =========================================================
   TAG
   ========================================================= */

.tag-box {
    position: relative;
    display: block;
    width:
        min(100%, 460px);
    height: 48px;
    margin-bottom: 2.1rem;
    border-radius: 70px;
    background:
        linear-gradient(
            90deg,
            #b30fff,
            #7f42a7,
            #6600c5,
            #5300a0,
            #ff8d0c,
            #b30fff
        );
    background-size: 200%;
    animation:
        gradientAnimation 10s linear infinite;
    box-shadow:
        0 0 15px
        rgba(255, 255, 255, 0.22);
    font-size:
        clamp(0.78rem, 1.25vw, 1.05rem);
    font-weight: 400;
    color: #e7e7e7;
}

@keyframes gradientAnimation {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.1rem;
    border-radius: 70px;
    background: #080808;
    color: #e7e7e7;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        color 0.3s ease;
}

.tag-box .tag:hover {
    color: #c66aff;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.content h1 {
    max-width: 700px;
    color: #f0edf5;
    font-size:
        clamp(2rem, 4.15vw, 4.1rem);
    line-height: 1.13;
    font-weight: 500;
    letter-spacing: -0.025em;
    transform:
        translateY(20px);
    text-wrap: balance;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.description {
    max-width: 650px;
    margin-top: 1.7rem;
    color:
        rgba(205, 202, 211, 0.67);
    font-size:
        clamp(0.95rem, 1.3vw, 1.2rem);
    line-height: 1.75;
    font-weight: 350;
    letter-spacing: 0.025em;
    text-align: left;
    transform:
        translateY(20px);
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-top: 2.8rem;
    transform:
        translateY(20px);
}


/* =========================================================
   GET STARTED BUTTON
   ========================================================= */

.btn-get-started {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding:
        0.72rem 1.45rem;
    border:
        1px solid #6600c5;
    border-radius: 70px;
    background:
        rgba(211, 211, 211, 0.035);
    color: #e7e7e7;
    text-decoration: none;
    font-size:
        clamp(0.9rem, 1.15vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow:
        0 0 0
        rgba(102, 0, 197, 0);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.btn-get-started:hover {
    background:
        rgba(211, 211, 211, 0.1);
    border-color: #9a32ff;
    box-shadow:
        0 0 25px
        rgba(102, 0, 197, 0.22);
    transform:
        translateY(-2px);
}


/* =========================================================
   AI AREA
   ========================================================= */

.robot-wrapper {
    position: absolute;
    left: 76%;
    top: 40%;
    width:
        min(38vw, 500px);
    height:
        min(38vw, 500px);
    min-width: 320px;
    min-height: 320px;
    transform:
        translate(-50%, -44%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}


/* =========================================================
   AI ASSISTANT BUTTON
   ========================================================= */

.ai-assistant {
    --mouse-rotate-x: 0deg;
    --mouse-rotate-y: 0deg;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width:
        min(34vw, 420px);
    aspect-ratio: 1 / 1;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    perspective: 1200px;
    transform-style: preserve-3d;
    transform:
        translate3d(0, 0, 0)
        rotateX(var(--mouse-rotate-x))
        rotateY(var(--mouse-rotate-y));
    animation:
        aiFloat 5s
        cubic-bezier(0.45, 0, 0.55, 1)
        infinite;
    transition:
        transform 0.35s
        cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
    will-change:
        transform,
        filter;
}

@keyframes aiFloat {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            rotateX(var(--mouse-rotate-x))
            rotateY(var(--mouse-rotate-y));
    }

    50% {
        transform:
            translate3d(0, -14px, 0)
            rotateX(var(--mouse-rotate-x))
            rotateY(var(--mouse-rotate-y));
    }
}

.ai-assistant:focus-visible {
    outline:
        2px solid
        rgba(179, 15, 255, 0.8);
    outline-offset: 8px;
    border-radius: 50%;
}


/* =========================================================
   AI LOGO
   ========================================================= */

.ai-logo {
    position: relative;
    width: 62%;
    height: 62%;
    object-fit: contain;
    z-index: 5;
    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 141, 12, 0.75)
        )
        drop-shadow(
            0 0 18px
            rgba(179, 15, 255, 0.55)
        )
        drop-shadow(
            0 0 40px
            rgba(102, 0, 197, 0.4)
        );
    animation:
        logoPulse 3s ease-in-out infinite;
    transition:
        transform 0.45s
        cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.45s ease;
    will-change:
        transform,
        filter;
}

@keyframes logoPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}


/* =========================================================
   AI GLOW
   ========================================================= */

.ai-logo-glow {
    position: absolute;
    width: 55%;
    height: 55%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(179, 15, 255, 0.32) 0%,
            rgba(102, 0, 197, 0.16) 35%,
            rgba(255, 141, 12, 0.08) 55%,
            transparent 72%
        );
    filter: blur(15px);
    z-index: 1;
    animation:
        glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%,
    100% {
        transform:
            scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform:
            scale(1.3);
        opacity: 1;
    }
}


/* =========================================================
   AI RINGS
   ========================================================= */

.ai-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform:
        translate3d(-50%, -50%, 0);
    pointer-events: none;
    will-change: transform;
}

.ring-one {
    width: 70%;
    height: 70%;
    border:
        1px solid
        rgba(179, 15, 255, 0.65);
    box-shadow:
        0 0 15px
        rgba(179, 15, 255, 0.35),
        inset 0 0 15px
        rgba(102, 0, 197, 0.15);
    animation:
        ringRotateOne 12s linear infinite;
}

.ring-two {
    width: 86%;
    height: 86%;
    border:
        1px solid
        rgba(255, 141, 12, 0.42);
    border-left-color: transparent;
    border-bottom-color: transparent;
    box-shadow:
        0 0 18px
        rgba(255, 141, 12, 0.18);
    animation:
        ringRotateTwo 8s linear infinite;
}

.ring-three {
    width: 105%;
    height: 105%;
    border:
        1px solid
        rgba(102, 0, 197, 0.25);
    border-right-color: transparent;
    animation:
        ringRotateThree 18s linear infinite;
}

@keyframes ringRotateOne {
    from {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(0deg);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(360deg);
    }
}

@keyframes ringRotateTwo {
    from {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(360deg);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(0deg);
    }
}

@keyframes ringRotateThree {
    from {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(0deg);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(-360deg);
    }
}


/* =========================================================
   AI PARTICLES
   ========================================================= */

.ai-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff8d0c;
    box-shadow:
        0 0 8px #ff8d0c,
        0 0 16px
        rgba(179, 15, 255, 0.7);
    z-index: 4;
    animation:
        particleFloat 3s ease-in-out infinite;
    pointer-events: none;
}

.particle-one {
    top: 18%;
    right: 20%;
}

.particle-two {
    bottom: 22%;
    left: 14%;
    width: 5px;
    height: 5px;
    background: #b30fff;
    animation-delay: -1s;
}

.particle-three {
    top: 28%;
    left: 13%;
    width: 4px;
    height: 4px;
    background: #e8ddff;
    animation-delay: -2s;
}

.particle-four {
    right: 12%;
    bottom: 30%;
    width: 4px;
    height: 4px;
    background: #b30fff;
    animation-delay: -0.5s;
}

@keyframes particleFloat {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
        opacity: 0.5;
    }

    50% {
        transform:
            translate3d(0, -15px, 0)
            scale(1.5);
        opacity: 1;
    }
}


/* =========================================================
   AI LABEL
   ========================================================= */

.ai-label {
    position: absolute;
    left: 50%;
    bottom: -1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transform:
        translateX(-50%);
    color: #e8ddff;
    font-size:
        clamp(0.8rem, 1vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
    text-shadow:
        0 0 12px
        rgba(179, 15, 255, 0.5);
    z-index: 5;
}

.ai-status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ff8d0c;
    box-shadow:
        0 0 8px #ff8d0c,
        0 0 15px
        rgba(255, 141, 12, 0.7);
    animation:
        statusBlink 1.8s ease-in-out infinite;
}

@keyframes statusBlink {
    0%,
    100% {
        opacity: 0.45;
        transform:
            scale(0.85);
    }

    50% {
        opacity: 1;
        transform:
            scale(1.15);
    }
}


/* =========================================================
   AI HINT
   ========================================================= */

.ai-hint {
    position: absolute;
    left: 50%;
    bottom: -2.5rem;
    transform:
        translateX(-50%);
    margin: 0;
    color:
        rgba(232, 221, 255, 0.45);
    font-size:
        clamp(0.6rem, 0.75vw, 0.78rem);
    letter-spacing: 0.12em;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}


/* =========================================================
   AI HOVER
   ========================================================= */

.ai-assistant:hover {
    filter:
        brightness(1.12)
        saturate(1.15);
}

.ai-assistant:hover .ai-logo {
    transform:
        scale(1.08);
    filter:
        drop-shadow(
            0 0 12px
            rgba(255, 141, 12, 1)
        )
        drop-shadow(
            0 0 30px
            rgba(179, 15, 255, 0.9)
        )
        drop-shadow(
            0 0 65px
            rgba(102, 0, 197, 0.65)
        );
}

.robot-wrapper:hover .ai-hint {
    color:
        rgba(232, 221, 255, 0.9);
    letter-spacing: 0.17em;
}

.robot-wrapper:hover .ring-one {
    border-color:
        rgba(179, 15, 255, 1);
    box-shadow:
        0 0 25px
        rgba(179, 15, 255, 0.65),
        inset 0 0 20px
        rgba(102, 0, 197, 0.3);
}

.robot-wrapper:hover .ring-two {
    border-color:
        rgba(255, 141, 12, 0.8);
    border-left-color: transparent;
    border-bottom-color: transparent;
}


/* =========================================================
   LANGUAGE SWITCH
   ========================================================= */

.language-item {
    margin-left: 1rem;
}

.language-switch {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-left: 0;
    text-decoration: none;
    color: #e8ddff;
    white-space: nowrap;
}


/* =========================================================
   UK FLAG
   ========================================================= */

.uk-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 23px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    border:
        1px solid rgba(179, 15, 255, 0.45);
    box-shadow:
        0 0 5px rgba(179, 15, 255, 0.35),
        0 0 10px rgba(255, 141, 12, 0.15);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s
        cubic-bezier(0.16, 1, 0.3, 1);
}

.uk-flag svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}


/* =========================================================
   LANGUAGE TEXT
   ========================================================= */

.language-text {
    display: inline-block;
    line-height: 1;
    transition:
        color 0.35s ease,
        text-shadow 0.35s ease;
}


/* =========================================================
   LANGUAGE HOVER
   ========================================================= */

.language-switch:hover .uk-flag {
    border-color: #ff8d0c;
    box-shadow:
        0 0 7px rgba(255, 141, 12, 0.65),
        0 0 15px rgba(179, 15, 255, 0.5);
    transform:
        scale(1.08);
}

.language-switch:hover .language-text {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(179, 15, 255, 0.55),
        0 0 18px rgba(179, 15, 255, 0.3);
}


/* =========================================================
   MOBILE LANGUAGE SWITCH POSITION
   ========================================================= */

@media (max-width: 768px) {
    .language-switch {
        justify-content: flex-start !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        width: fit-content !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    header {
        padding-left: 2%;
        padding-right: 2%;
    }

    .nav-links {
        gap:
            0.8rem 1.4rem;
    }

    .hero-wrapper {
        padding-left: 2%;
        padding-right: 2%;
    }

    .robot-wrapper {
        left: 77%;
        width:
            min(42vw, 450px);
        height:
            min(42vw, 450px);
    }

    .content h1 {
        font-size:
            clamp(2rem, 4.2vw, 3.5rem);
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 900px) {
    header {
        min-height: 105px;
    }

    .brand .logo {
        width: 60px;
    }

    header h1.name {
        font-size:
            clamp(1.15rem, 2.5vw, 1.7rem);
    }

    header .slogan {
        font-size: 0.72rem;
    }

    .nav-links {
        gap:
            0.7rem 1rem;
    }

    .nav-links li a {
        font-size: 0.78rem;
    }

    .nav-links li::before {
        margin-right: 5px;
    }

    .hero-wrapper {
        padding-top: 3rem;
    }

    .robot-wrapper {
        left: 78%;
        width: 390px;
        height: 390px;
    }

    .ai-assistant {
        width: 350px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
    html,
    body {
        overflow-y: auto;
        min-height: 100%;
    }


    /* =========================
       MOBILE HEADER
       ========================= */

    header {
        padding:
            16px 5%;
        flex-wrap: nowrap;
        position: relative;
        z-index: 1001;
    }


    /* =========================
       HAMBURGER
       ========================= */

    .hamburger {
        display: flex;
        flex-shrink: 0;
        position: relative;
        z-index: 1002;
    }


    /* =========================
       MOBILE NAVIGATION PANEL
       ========================= */

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width:
            min(280px, 80vw);
        height: 100vh;
        background:
            linear-gradient(
                180deg,
                rgba(21, 6, 44, 0.96) 0%,
                rgba(12, 3, 28, 0.94) 100%
            );
        backdrop-filter:
            blur(14px);
        -webkit-backdrop-filter:
            blur(14px);
        box-shadow:
            -5px 0 30px
            rgba(0, 0, 0, 0.45);
        padding:
            5.5rem 2rem 2rem;
        display: block;
        transition:
            right 0.35s
            cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1000;
        overflow-y: auto;
    }


    /* =========================
       OPEN NAVIGATION
       ========================= */

    .nav-toggle:checked ~ nav {
        right: 0;
    }


    /* =========================
       NAV LINKS
       ========================= */

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1.4rem;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        align-items: center;
        list-style: none;
    }

    .nav-links li::before {
        flex-shrink: 0;
    }

    .nav-links li a {
        font-size: 1.05rem;
        letter-spacing: 0.1rem;
        white-space: nowrap;
    }


    /* =========================
       LANGUAGE ITEM MOBILE
       ========================= */

    .language-item {
        margin-left: 0;
    }


    /* =========================
       HERO
       ========================= */

    .hero-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 0;
        padding-top: 3rem;
        overflow: hidden;
    }


    /* =========================
       CONTENT
       ========================= */

    .content {
        max-width: 100%;
        transform:
            translateY(10px);
        z-index: 2;
    }

    .content h1 {
        max-width: 100%;
        margin: 0 auto;
    }

    .description {
        text-align: center;
        margin:
            1.5rem auto 0;
    }


    /* =========================
       BUTTON
       ========================= */

    .buttons {
        justify-content: center;
        margin:
            2rem auto 0;
    }


    /* =========================
       TAG
       ========================= */

    .tag-box {
        transform:
            translateY(-30px);
    }


    /* =========================
       AI
       ========================= */

    .robot-wrapper {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 150vw;
        height: 650px;
        margin-top: -280px;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }

    .ai-assistant {
        width:
            min(80vw, 360px);
    }

    .ai-label {
        margin-top:
            -0.2rem;
    }

    .logo-text {
        min-width: 0;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {
    .container {
        padding:
            0 0.8rem;
    }

    header {
        padding:
            12px 1%;
    }

    .brand {
        gap:
            0.55rem;
    }

    .brand .logo {
        width: 46px;
    }

    header h1.name {
        max-width: 210px;
        font-size: 0.9rem;
    }

    header .slogan {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
    }

    .hero-wrapper {
        padding-top: 2rem;
    }

    .tag-box {
        height: 42px;
        margin-bottom: 1.5rem;
        font-size: 0.7rem;
    }

    .content h1 {
        font-size:
            clamp(1.7rem, 8vw, 2.35rem);
    }

    .description {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .btn-get-started {
        width: 100%;
        max-width: 330px;
    }

    .robot-wrapper {
        width: 125vw;
        height: 410px;
        margin-top: -10px;
    }

    .ai-assistant {
        width:
            min(84vw, 320px);
    }

    .ai-label {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .ai-hint {
        font-size: 0.55rem;
        letter-spacing: 0.08em;
    }

    .ai-particle {
        transform:
            scale(0.8);
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {
    header h1.name {
        max-width: 175px;
        font-size: 0.82rem;
    }

    header .slogan {
        font-size: 0.53rem;
    }

    .content h1 {
        font-size: 1.6rem;
    }

    .description {
        font-size: 0.84rem;
    }

    .robot-wrapper {
        height: 360px;
    }

    .ai-assistant {
        width: 290px;
    }
}


/* =========================================================
   DESKTOP NO SCROLL
   ========================================================= */

@media (min-width: 769px) {
    html,
    body {
        height: 100%;
        overflow-y: hidden;
    }
}


/* =========================================================
   DESKTOP LARGE SCREENS
   ========================================================= */

@media (min-width: 1600px) {
    .hero-wrapper {
        padding-top: 5rem;
    }

    .content {
        max-width: 760px;
    }

    .content h1 {
        max-width: 740px;
        font-size:
            clamp(3.2rem, 3.5vw, 4.3rem);
    }

    .description {
        max-width: 700px;
        font-size: 1.2rem;
    }

    .robot-wrapper {
        left: 76%;
    }
}


/* =========================================================
   AI TRANSITION ROOT
   ========================================================= */

.ai-transition {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    overflow: hidden;
    --start-x: 50vw;
    --start-y: 50vh;
    --move-x: 0px;
    --move-y: 0px;
    --start-size: 400px;
}


/* =========================================================
   TRANSITION BACKDROP — PITCH BLACK
   ========================================================= */

.ai-transition-backdrop {
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   TRANSITION BLOOM — BLACK
   ========================================================= */

.ai-transition-bloom {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20vw;
    height: 20vw;
    min-width: 180px;
    min-height: 180px;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.15);
    background:
        radial-gradient(
            circle,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.96) 45%,
            rgba(0, 0, 0, 0.90) 65%,
            rgba(0, 0, 0, 0) 78%
        );
    filter: blur(20px);
    opacity: 0;
    transition:
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s ease;
}


/* =========================================================
   TRANSITION ENTITY
   ========================================================= */

.ai-transition-entity {
    position: absolute;
    left: var(--start-x);
    top: var(--start-y);
    width: var(--start-size);
    height: var(--start-size);
    display: flex;
    align-items: center;
    justify-content: center;
    transform:
        translate3d(-50%, -50%, 0);
    z-index: 10002;
    will-change:
        transform,
        filter;
}


/* =========================================================
   TRANSITION LOGO
   ========================================================= */

.transition-logo {
    position: relative;
    width: 62%;
    height: 62%;
    object-fit: contain;
    z-index: 10;
    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 141, 12, 0.8)
        )
        drop-shadow(
            0 0 20px
            rgba(179, 15, 255, 0.65)
        )
        drop-shadow(
            0 0 45px
            rgba(102, 0, 197, 0.45)
        );
    transform:
        scale(1);
    will-change:
        transform,
        filter;
}


/* =========================================================
   TRANSITION GLOW
   ========================================================= */

.transition-glow {
    position: absolute;
    width: 58%;
    height: 58%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(20, 20, 20, 0.35) 0%,
            rgba(5, 5, 5, 0.22) 38%,
            rgba(0, 0, 0, 0.10) 58%,
            transparent 74%
        );
    filter: blur(18px);
    opacity: 0.7;
    z-index: 2;
}


/* =========================================================
   TRANSITION RINGS
   ========================================================= */

.transition-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform:
        translate3d(-50%, -50%, 0);
    will-change:
        transform,
        opacity;
}

.transition-ring-1 {
    width: 70%;
    height: 70%;
    border:
        1px solid
        rgba(179, 15, 255, 0.7);
    box-shadow:
        0 0 18px
        rgba(179, 15, 255, 0.35);
    animation:
        transitionRing1 7s linear infinite;
}

.transition-ring-2 {
    width: 86%;
    height: 86%;
    border:
        1px solid
        rgba(255, 141, 12, 0.5);
    border-left-color: transparent;
    border-bottom-color: transparent;
    box-shadow:
        0 0 20px
        rgba(255, 141, 12, 0.18);
    animation:
        transitionRing2 5s linear infinite reverse;
}

.transition-ring-3 {
    width: 105%;
    height: 105%;
    border:
        1px solid
        rgba(102, 0, 197, 0.35);
    border-right-color: transparent;
    animation:
        transitionRing3 9s linear infinite;
}

@keyframes transitionRing1 {
    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(360deg);
    }
}

@keyframes transitionRing2 {
    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(360deg);
    }
}

@keyframes transitionRing3 {
    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotate(-360deg);
    }
}


/* =========================================================
   TRANSITION PARTICLES
   ========================================================= */

.transition-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff8d0c;
    box-shadow:
        0 0 8px #ff8d0c,
        0 0 18px
        rgba(179, 15, 255, 0.8);
    opacity: 0.8;
    transition:
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.7s ease;
}

.transition-particle-1 {
    top: 18%;
    right: 20%;
}

.transition-particle-2 {
    bottom: 20%;
    left: 15%;
    width: 4px;
    height: 4px;
    background: #b30fff;
}

.transition-particle-3 {
    top: 30%;
    left: 13%;
    width: 4px;
    height: 4px;
    background: #e8ddff;
}

.transition-particle-4 {
    right: 12%;
    bottom: 30%;
    width: 4px;
    height: 4px;
    background: #b30fff;
}


/* =========================================================
   ACTIVE TRANSITION
   ========================================================= */

body.ai-transition-active {
    overflow: hidden !important;
}

body.ai-transition-active .ai-transition {
    visibility: visible;
    opacity: 1;
}

body.ai-transition-active .ai-transition-backdrop {
    opacity: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* =========================================================
   TRANSITION RUNNING
   ========================================================= */

.ai-transition.is-running .ai-transition-entity {
    transform:
        translate3d(
            calc(-50% + var(--move-x)),
            calc(-50% + var(--move-y)),
            0
        )
        scale(1.35);
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   LOGO EXPANSION
   ========================================================= */

.ai-transition.is-running .transition-logo {
    transform:
        scale(1.18);
    filter:
        brightness(1.15)
        drop-shadow(
            0 0 15px
            rgba(255, 141, 12, 1)
        )
        drop-shadow(
            0 0 35px
            rgba(179, 15, 255, 1)
        )
        drop-shadow(
            0 0 80px
            rgba(102, 0, 197, 0.85)
        );
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   GLOW COLLAPSE
   ========================================================= */

.ai-transition.is-running .transition-glow {
    transform:
        scale(1.7);
    opacity: 0;
    filter:
        blur(26px);
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease,
        filter 1s ease;
}


/* =========================================================
   RING COLLAPSE
   ========================================================= */

.ai-transition.is-running .transition-ring-1 {
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.78);
    opacity: 0;
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease;
}

.ai-transition.is-running .transition-ring-2 {
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.84);
    opacity: 0;
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease;
}

.ai-transition.is-running .transition-ring-3 {
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.9);
    opacity: 0;
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease;
}


/* =========================================================
   TRANSITION PARTICLE COLLAPSE
   ========================================================= */

.ai-transition.is-running .transition-particle-1 {
    transform:
        translate3d(-15px, 25px, 0);
    opacity: 0;
}

.ai-transition.is-running .transition-particle-2 {
    transform:
        translate3d(25px, -20px, 0);
    opacity: 0;
}

.ai-transition.is-running .transition-particle-3 {
    transform:
        translate3d(25px, 15px, 0);
    opacity: 0;
}

.ai-transition.is-running .transition-particle-4 {
    transform:
        translate3d(-20px, -20px, 0);
    opacity: 0;
}


/* =========================================================
   CENTRAL BLOOM — BLACK
   ========================================================= */

.ai-transition.is-running .ai-transition-bloom {
    transform:
        translate3d(-50%, -50%, 0)
        scale(1.8);
    opacity: 1;
    filter:
        blur(28px);
    transition:
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s ease;
}


/* =========================================================
   FINAL BLACK EXPANSION
   KEEP BELOW LOGO
   ========================================================= */

.ai-transition.is-running::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        #000000;
    filter:
        blur(2px);
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.01);
    opacity: 0;
    pointer-events: none;

    /* BELOW LOGO */
    z-index: 10001;

    animation:
        seamlessBloom 1.55s
        cubic-bezier(0.22, 0.61, 0.36, 1)
        forwards;

    will-change:
        transform,
        opacity,
        filter;
}


/* =========================================================
   FINAL BLACK AURA
   KEEP BELOW LOGO
   ========================================================= */

.ai-transition.is-running::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background:
        #000000;
    filter:
        blur(35px);
    transform:
        translate3d(-50%, -50%, 0)
        scale(0.01);
    opacity: 0;
    pointer-events: none;

    /* BELOW LOGO */
    z-index: 10000;

    animation:
        seamlessAura 1.55s
        cubic-bezier(0.22, 0.61, 0.36, 1)
        forwards;

    will-change:
        transform,
        opacity,
        filter;
}


/* =========================================================
   BLACK BLOOM ANIMATION
   ========================================================= */

@keyframes seamlessBloom {
    from {
        transform:
            translate3d(-50%, -50%, 0)
            scale(0.01);
        opacity: 0;
        filter:
            blur(3px);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            scale(52);
        opacity: 1;
        filter:
            blur(34px);
    }
}


/* =========================================================
   BLACK AURA ANIMATION
   ========================================================= */

@keyframes seamlessAura {
    from {
        transform:
            translate3d(-50%, -50%, 0)
            scale(0.01);
        opacity: 0;
        filter:
            blur(35px);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            scale(46);
        opacity: 0.75;
        filter:
            blur(75px);
    }
}

